home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Programming Languages Suite
/
ProgramD2.iso
/
Borland
/
Borland C++ V5.02
/
APPEXPRT.PAK
/
TMDICHIL.OWL
< prev
next >
Wrap
Text File
|
1997-05-06
|
3KB
|
100 lines
'------------------------------------------------------------------------------
' Expert - (C) Copyright 1993, 1995 by Borland International, Inc.
' All Rights Reserved.
'
' SUBSYSTEM: OWL code template
' FILE: TMDIChild.OWL
'
'
' OVERVIEW
' ~~~~~~~~
'------------------------------------------------------------------------------
<<[H]TMDIChild [[TMDIChild]]
##{hheader.snp}
##<<TApplication QUERY_FILENAME_CPP [[Filename]]
#include "[[Filename]].rh" // Definition of all resources.
//{{TMDIChild = [[TMDIChild]]}}
class [[TMDIChild]] : public TMDIChild {
public:
[[TMDIChild]](TMDIClient& parent, const char far* title, TWindow* clientWnd, bool shrinkToClient = false, TModule* module = 0);
virtual ~[[TMDIChild]]();
}; //{{[[TMDIChild]]}}
##{hfooter.snp}
>>[H]TMDIChild [[TMDIChild]]
'
' TMDIChild CPP file.
'
<<[CPP]TMDIChild [[TMDIChild]]
##{cheader.snp}
#include <owl/pch.h>
##<<TApplication QUERY_FILE_H [[FileName]]
#include "[[FileName]]"
##--BEGIN-- !@OPT_APPL_DOCVIEW
## --BEGIN-- @QUERY_APPL_MODEL == VALUE_MDI
##: <<TMDIChild QUERY_WIND_CLIENT [[Client]]
##: <<*Client QUERY_FILE_H [[FileName]]
#include "[[FileName]]"
## --END-- @QUERY_APPL_MODEL == VALUE_MDI
## --BEGIN-- @QUERY_APPL_MODEL == VALUE_SDI
## --END-- @QUERY_APPL_MODEL == VALUE_SDI
##--END-- !@OPT_APPL_DOCVIEW
##QUERY_FILE_H [[FileName]]
#include "[[FileName]]"
//{{[[TMDIChild]] Implementation}}
##--BEGIN-- @QUERY_APPL_COMMENT == VALUE_VERBOSE
//--------------------------------------------------------
// [[TMDIChild]]
// ~~~~~~~~~~
// Construction/Destruction handling.
//
##--END-- @QUERY_APPL_COMMENT == VALUE_VERBOSE
[[TMDIChild]]::[[TMDIChild]](TMDIClient& parent, const char far* title, TWindow* clientWnd, bool shrinkToClient, TModule* module)
:
##--BEGIN-- !@OPT_APPL_DOCVIEW
##"" [[BaseClient]]
##"" [[ClientClass]]
##: QUERY_WIND_CLIENT ClientClass
##: <<*ClientClass QUERY_BASE_NAME [[BaseClient]]
##--BEGIN-- TRUE
##BaseClient == "TEditFile"
TMDIChild(parent, title, !clientWnd ? new [[ClientClass]](0, 0, 0) : clientWnd, shrinkToClient, module)
##BaseClient == "TListBox"
TMDIChild(parent, title, !clientWnd ? new [[ClientClass]](0, 0, 0, 0, 100, 100) : clientWnd, shrinkToClient, module)
##BaseClient == "TWindow"
TMDIChild(parent, title, !clientWnd ? new [[ClientClass]](0, "") : clientWnd, shrinkToClient, module)
##--END-- TRUE
##--END-- !@OPT_APPL_DOCVIEW
##@OPT_APPL_DOCVIEW
TMDIChild(parent, title, clientWnd, shrinkToClient, module)
{
##QUERY_WIND_STYLE [[StyleAttributes]]
##StyleAttributes != "" 3
// Override the default window style for TMDIChild.
[[StyleAttributes]]
##{wndbkgd.snp}
// INSERT>> Your constructor code here.
}
[[TMDIChild]]::~[[TMDIChild]]()
{
Destroy();
// INSERT>> Your destructor code here.
}
>>[CPP]TMDIChild [[TMDIChild]]